<html>
<title>Get Rich Through Budgeting</title>
<head>
<link rel="stylesheet" type="text/css" media="screen"
	href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.0/themes/ui-lightness/jquery-ui.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/styles.css" />

<script type="text/javascript"
	src="http://www.google.com/jsapi?key=ABQIAAAAN5ZtdO4QwxMtTu20xDDGaBRDmw7J9fBy0SHOM2DFag_Hy1S5lhQ5rqB1kcjLa1mWGmKBHM2W7xPDyQ">
	
</script>

<script>
	google.load("jquery", "1.6.2");
	google.load("jqueryui", "1.8.15");
</script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="index.js">
</script>

</head>
<body>
<?php
	$_SESSION['username'] = null;
	$_SESSION['password'] = null;
	session_start(); 
	session_destroy();
?>
<div id="message" style="display: none; font-size: 0.8em"></div>
<div id="loadingPic" style="display: none; position:absolute; left: 0px; top:0px; height:100%; width: 100%; text-align: center;
	           background-image:url('images/translucent.gif'); z-index: 1000;">
		<img src="images/loading2.gif" style="margin: 12%"/>
	</div>
<div id="createUserBox" style="display: none;">
	<table width="100%">
		<tr>
			<td>Username:</td>
			<td><input id="newusername" type="text" class="textInput" autocomplete="off"/></td>
		</tr>
		<tr>
			<td>Name:</td>
			<td><input id="name" type="text" class="textInput" autocomplete="off"/></td>
		</tr>
		<tr>
			<td>Surname:</td>
			<td><input id="surname" type="text" class="textInput" autocomplete="off"/></td>
		</tr>
		<tr>
			<td>Email address:</td>
			<td><input id="emailaddress" type="text" class="textInput"/></td>
		</tr>
		<tr>
			<td>Confirm email address:</td>
			<td><input id="confirmemailaddress" type="text" class="textInput"/></td>
		</tr>
	</table>
</div>

<div id="forgotPasswordBox" style="display: none;" title="Forgot Password">
	<p style="font-size: 0.6em">Enter your username below and your password will be sent to your email address.</p>
	<table width="100%">
		<tr>
			<td width="40%">Username:</td>
			<td><input id="forgotusername" type="text" class="textInput" autocomplete="off"/></td>
		</tr>
	</table>
</div>
<div style="height: 200px"></div>
<table align="center" class="ui-widget ui-state-default ui-corner-all" width="300" cellpadding="3" cellspacing="2">
	<tr>
		<td class="ui-widget-content">Username:</td>
		<td class="ui-widget-content"><input id="username" type="text" maxlength="20" autocomplete="off"/></td>
	</tr>
	<tr>
		<td class="ui-widget-content">Password:</td>
		<td class="ui-widget-content"><input id="password" type="password" maxlength="20" /></td>
	</tr>
	<tr>
		<td colspan="2" align="center" class="ui-widget-content">
		<button id="loginBtn">Login</button>
		</td>
	</tr>
	<tr>
		<td colspan="2" class="ui-widget-content footerText" valign="top">
			<a href="#" onclick="showCreateUserBox(); return false;">Not Registered?</a> &nbsp;&nbsp;&nbsp; <a href="#" onclick="showChangePasswordBox(); return false;">Forgot Password?</a>
		</td>
	</tr>
</table>

</body>
</html>